<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <f:view contentType="text/html">
        <h:head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>SIECILO - <ui:insert name="titulo"/></title>
            <link href="#{request.contextPath}/resources/css/screen.css" rel="stylesheet" type="text/css" />
            <link href="#{request.contextPath}/resources/ui-lightness/skin.css" rel="stylesheet" type="text/css"/>
            <ui:insert name="scriptMapa"></ui:insert>
            <ui:insert name="editortexto"></ui:insert>
        </h:head>

        <h:body onload="initialize()">
            <div id="layout">

                <div id="header">
                    <div class="logo">
                        <div class="login"><ui:insert name="login">
                                <h:form id="loginForm">
                                    <h:panelGrid columns="5" cellspacing="9">
                                        <h:outputLabel for="usuario"  value="Usuario: #{request.getUserPrincipal().getName()}" style="color: white; font-weight: bold"/>
                                        <h:outputLink id="usuario" value="${request.getContextPath()}/logout" style="color: white; font-weight: bold" >
                                            <h:outputLabel>Salir</h:outputLabel>
                                        </h:outputLink>
                                    </h:panelGrid>
                                </h:form>
                            </ui:insert>
                        </div>
                    </div>
                    <div id="menu_principal" >
                        <ui:include src="../menus/prueba.xhtml"/>
                    </div>
                    <div class="banner_secretaria"></div>
                </div>

                <div id="contenido">
                    <ui:insert name="identificador"></ui:insert>
                    <ui:insert name="googlemap"></ui:insert>
                    <ui:insert name="ckeditor"></ui:insert>
                    <ui:insert name="contenido"></ui:insert>

                </div>
                <div id="footer" class="piecito"> Derechos reservados © 2010<a href="http://www.ues.edu.sv/"> Universidad de El Salvador </a> Diseñado por:<a href="http://www.ues.edu.sv/"> Grupo de Desarrollo #2</a></div>
            </div>
        </h:body>
    </f:view>
</html>
